/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: UpRightPhone
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2021/12/21 16:30
 * @version: 1.0
 */
public class UpRightPhone extends Phone{


    //构造器
    public UpRightPhone(Brand brand) {
        super(brand);
    }


    @Override
    public void open(){
        super.open();
        System.out.println("直立样式手机");
    }


    @Override
    public void close(){
        super.close();
        System.out.println("直立样式手机");
    }


    @Override
    public void call(){
        super.call();
        System.out.println("直立样式手机");
    }
}
